<div id="list-content">
<?php if($this->user['user_type'] == 1):?>
<div id="list-clients">
<div id="clients">
<?php if ($this->listClients != null):?>
<div style="height: 35px;">
	<h3 class="partner-title" style="width: 25%;">Nome</h3>
	<h3 class="partner-title" style="width: 15%;">E-mail</h3>
	<h3 class="partner-title" style="width: 15%;">CPF</h3>
	<h3 class="partner-title" style="width: 15%;">Nascimento</h3>
	<h3 class="partner-title" style="width: 15%;">Telefone</h3>
	<h3 class="partner-title" style="width: 15%;">Sexo</h3>
</div>

<dl>
<?php  foreach ($this->listClients as $client):?>
	<dt>
		<a title="<?php echo $client['name']?>" href="" class="transaction" style="width: 25%;"
			name="<?php echo $client['name']?>"> 
			<?php if(strlen($client['name']) > 17):?>
				<?php echo substr($client['name'], 0, 17).'...'?> 
			<?php else:?>
				<?php echo $client['name']?>
			<?php endif;?>
		</a>
		
		<a title="<?php echo $client['email']?>" href="" class="transaction" style="width: 15%;"
			name="<?php echo $client['email']?>"> 
			<?php if(strlen($client['email']) > 17):?>
				<?php echo substr($client['email'], 0, 17).'...'?> 
			<?php else:?>
				<?php echo $client['email']?>
			<?php endif;?>
		</a> 
		
		<a title="<?php echo $client['cpf']?>" href="" class="transaction" style="width: 15%;">
			<?php echo $client['cpf'];?>
		</a>
		
		<a title="<?php echo $client['birth']?>" href="" class="transaction" style="width: 15%;">
			<?php echo $client['birth'];?>
		</a>
		
		<a title="<?php echo $client['phone']?>" href="" class="transaction" style="width: 15%;">
			<?php echo $client['phone'];?>
		</a>
		
		<a title="<?php echo $client['sex']?>" href="" class="transaction" style="width: 15%;">
			<?php echo $client['sex'];?>
		</a>
	</dt>
	<dd>
		<ul>
			<li>
				<div id="<?php echo $request['id_transaction']?>"></div>
			</li>
		</ul>
	</dd>
	<?php endforeach;?>
	<!-- PAGINAÇÃO -->
		<?php echo $this->paginationControl($this->listClients, 'Sliding', '/admin/_pagination-clients.phtml'); ?>
	<!-- [END] PAGINAÇÃO -->
</dl>
	<?php else:?>
<div class="nothing">
	<p>Nenhum pedido foi efetuado!</p>
</div>
<?php endif;?>
</div>
</div>
<?php endif;?>
</div>